{load_language_text section="sunnycash_checkout_success"} {foreach item=sunnycash_coupon from=$sunnycash_coupons} {block name="module_checkout_success_sunnycash_coupons_container_coupon"}
{block name="module_checkout_success_sunnycash_coupons_container_coupon_container"} {block name="module_checkout_success_sunnycash_coupons_container_coupon_image_container"} {block name="module_checkout_success_sunnycash_coupons_container_coupon_image_container_image"} {block name="module_checkout_success_sunnycash_coupons_container_coupon_image_container_image_logo_if"} {if $sunnycash_coupon->getShopLogo()} {block name="module_checkout_success_sunnycash_coupons_container_coupon_image_container_image_logo"} getType() === "coupon"} data-sunnycash-widget="coupon_modal" data-coupon_id="{$sunnycash_coupon->getId()}" data-modal_target="#coupon-{$sunnycash_coupon->getId()}" {/if} target="_blank"> {/block} {else} {block name="module_checkout_success_sunnycash_coupons_container_coupon_image_container_image_logo_text"} {$sunnycash_coupon->getPartnerTitle()} {/block} {/if} {/block} {/block} {/block} {block name="module_checkout_success_sunnycash_coupons_container_coupon_title_container"} {block name="module_checkout_success_sunnycash_coupons_container_coupon_title_container_title"} {$sunnycash_coupon->getName()} {/block} {/block} {block name="module_checkout_success_sunnycash_coupons_container_coupon_action_button_container"} {block name="module_checkout_success_sunnycash_coupons_container_coupon_action_button_container_button"} getType() === "coupon"} data-sunnycash-widget="coupon_modal" data-coupon_id="{$sunnycash_coupon->getId()}" data-modal_target="#coupon-{$sunnycash_coupon->getId()}" {/if} target="_blank"> {$txt.sunnycash_coupon_choose_now} {/block} {/block} {/block} {block name="module_checkout_success_sunnycash_coupons_container_coupon_code_modal_if"} {if $sunnycash_coupon->getType() === "coupon"} {block name="module_checkout_success_sunnycash_coupons_container_coupon_code_modal"}
{/block} {/if} {/block}
{/block} {/foreach}